<?php
$menuConfig = rareConfig::getAll('menu');
$parents = $menuConfig['parent'];
$children = $menuConfig['children'];
?>
<div>
    <ul class="admin_index">
        <li>
            <a href="<?php echo url('index');?>">控制中心</a>
        </li>
        <?php foreach($parents as $key=>$value):?>
        <li>
            <a href="<?php echo url($key);?>"><?php echo $value;?></a>
        </li>
        <?php endforeach;?>
    </ul>
</div>

